/*
 * @Author: cola(sunshiwen)
 * @Date: 2022-04-22 09:57:27
 * @LastEditTime: 2022-08-16 16:40:28
 * @LastEditors: liuzhou
 * @Description: 分支管理参数 schema
 * @FilePath: /maycur-koa/schema/branch_manage_schema.js
 */
'use strict';

const Joi = require('@hapi/joi');

const addIconfontVersion = {
    body: Joi.object({
        product: Joi.string().required(),
        remark: Joi.string().empty("").default(""),
        iconfontLink: Joi.string().empty("").default(""),
    }),
}

const deleteVersion = {
    router: Joi.object({
        id: Joi.string().required(),
    }),
}

module.exports = {
    addIconfontVersion: addIconfontVersion,
    deleteVersion: deleteVersion,
}